package com.gitee.liang521.generate.api.pojo.maps;

import com.gitee.liang521.generate.api.pojo.entity.TableEntity;
import com.gitee.liang521.generate.api.pojo.vo.generate.ListResVo;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author liang zai
 * @date 2021/9/16 15:17
 * @description
 */
@Mapper(componentModel = "spring")
public interface TableMaps {
    /**
     * po to vo
     * @param list
     * @return
     */
    ListResVo poToVo(TableEntity list);
    /**
     * po to vo
     * @param list
     * @return
     */
    List<ListResVo> poToVo(List<TableEntity> list);
}
